//
//  FiltrateViewController.swift
//  KTDouYu
//
//  Created by ly on 16/5/10.
//  Copyright © 2016年 CoolKi. All rights reserved.
//

import UIKit

class FiltrateViewController: UIViewController {
    // MARK:- 属性
    //控制器的角标 用于分辨控制器
    var indexController = 0
 
 
    
    override func viewDidLoad() {
        
        super.viewDidLoad()
        
        
      
    }
    
}

// MARK:- 被显示时调用
extension FiltrateViewController {
    func showComplete() {
        //添加子控制器
        
    }
}

// MARK:- 添加子控制器
extension FiltrateViewController {
    func setDetais() {
        let layout = DetailsFlowLayout()
        let detaisV = DetailsAllCollectionController(collectionViewLayout: layout)
        self.addChildViewController(detaisV)
        self.view.addSubview(detaisV.collectionView!)
        detaisV.collectionView!.frame = view.bounds
        
    }
}


